package cz.cvut.fel.gfupan.gui.execution;

import javax.swing.text.JTextComponent;

public class Dummy implements Executable {

    private JTextComponent comp;

    public Dummy(JTextComponent declination) {
        this.comp = declination;
    }

    @Override
    public String execute() {
        return comp.getText();
    }
}
